<?php
/**********************************************\
 * This file should be called from other core *
 * php files to automatically include the main*
 * functions.                                 *
 *                                            *
\**********************************************/
//include the iniparser and set the configuration file
include("include/class.iniparser.php");
//include the postrequest code for calling the remote APIs
include("include/postrequest.php");
//include the code for finding the newest (log) file
include("include/newestfile.php");
//class for building zips
require ("./include/zipfile.inc.php");
//newzbook specific functions
include("include/newzbook/newzbook.php");
//mobile device detection
include('include/mobile_device_detect.php');

/* Variables based on include files */
//configuration file
$cfg = new iniParser("../configuration/config.ini");
//newest file
$bookmarklogs = "../logs/".get_newest_file("/share/Apps/NewzBook/logs/");
//detect mobile devices
$mobile = mobile_device_detect(true,true,true,true,true,true,false,false);

?>